<template>
<div>
  <h1>
    入库验收
  </h1>
  <el-divider></el-divider>

  <template>
    <el-table
        ref="multipleTable"
        :data="tableData"
        tooltip-effect="dark"
        style="width: 100%"
        @selection-change="handleSelectionChange">
      <el-table-column
          type="selection"
          width="55">
      </el-table-column>
      <el-table-column
          prop="characteristic"
          label="入库单标识"
          width="120">
        <template slot-scope="scope">{{ scope.row.date }}</template>
      </el-table-column>
      <el-table-column
          prop="purchase"
          label="采购人"
          width="120">
      </el-table-column>
      <el-table-column
          prop="check"
          label="验收人"
          show-overflow-tooltip>
      </el-table-column>
      <el-table-column
          prop="Submit"
          label="提交人"
          show-overflow-tooltip>
      </el-table-column>
      <el-table-column
          prop="date"
          label="入库日期"
          show-overflow-tooltip>
      </el-table-column>
    </el-table>

    <div class="block">
      <el-pagination
          @size-change="handleSizeChange"
          @current-change="handleCurrentChange"
          :current-page="currentPage4"
          :page-sizes="[100, 200, 300, 400]"
          :page-size="100"
          layout="total, sizes, prev, pager, next, jumper"
          :total="400">
      </el-pagination>
    </div>
  </template>
</div>
</template>

<script>
export default {
  name: "warehouse entry inspection",
data() {
  return {
    tableData: [],
    multipleSelection: [],
    currentPage1: 5,
    currentPage2: 5,
    currentPage3: 5,
    currentPage4: 4
  }
  },
  methods: {
    handleSizeChange(val) {
      console.log(`每页 ${val} 条`);
    },
    handleCurrentChange(val) {
      console.log(`当前页: ${val}`);
    }
  }
}
</script>

<style scoped>

</style>